package com.pmcc.yn.repository;

import com.pmcc.yn.entity.TechnicianInfo;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by shengxiaojing on 2019/1/11.
 */
public interface TechnicianInfoRepository extends JpaRepository<TechnicianInfo,String> {

    Page<TechnicianInfo> findAll(Specification<TechnicianInfo> spec, Pageable var1);

   TechnicianInfo findById(String id);
   TechnicianInfo findByWxId(String wxId);


}
